import Class from './class.vue'
import ClassSearch from './classSearch.vue'
import ClassEdit from './classEdit.vue'
import ClassAdd from './classAdd.vue'
import ClassView from './classView.vue'

const components = [
  Class,
  ClassSearch,
  ClassEdit,
  ClassAdd,
  ClassView
]

const main = {
  install(Vue) {
    components.map((component) => {
      Vue.component(component.name, component)
    })
  }
}
export default main
